package org.example.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.example.db.entity.Role;

import java.util.List;

@ApiModel("系统管理-管理员 table element")
@Data
public class SysAdminDto {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private String name;
    private String avatar;
    private List<Role> roleList;
}
